package com.gupt.youhd.mapper;/*
@author name
@data 2023/4/2-23:45
*/


import com.gupt.youhd.entity.School;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SchoolMapper {

    //查询 该学校商铺的商品
    List<School> retrieveProductBySchoolId(int schoolId);

    //根据校名查询信息
    School retrieveSchoolBySchoolName(String schoolName);

    //根据id查询校名
    School retrieveSchoolBySchoolId(int schoolId);
}
